/*
 * SWLcd.h
 *
 * Created: 2013-02-02 17:00:40
 *  Author: ant
 */ 


#ifndef SWLCD_H
#define SWLCD_H

#include "main.h"



void swl_clear();
void swl_home();
void swl_setpos(u8 pos);

void swl_print(char* text);
void swl_printi(u16 val);

void swl_proceed();
u8 swl_check();

void swl_led_on(u8 led);
void swl_led_off(u8 led);


u8 swl_keys();
void swl_keys_clear();

void send_debug_word(u16 word);


#define LINE 6

#define LINE_PULL	DDRB |= (1 << LINE);
#define LINE_LEAVE  DDRB &=~(1 << LINE);


#endif